package com.dgw.springbootsolr.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @program: springboot-solr
 * @description:
 * @author: Mr.Dai
 * @create: 2020-02-26 21:04
 **/
@Configuration
//@ConfigurationProperties(prefix = "person", ignoreUnknownFields = true)
//@PropertySource("classpath:application.properties")
public class SolrConfig {

    @Value("${solr.collectionName}")
    public String collectionName;

}
